#include "../include/text.h"

void drawTextCenter(const char *text, int posX, int posY, int fontSize, Color color) {
    int textWidth = MeasureText(text, fontSize);
    int textHeight = fontSize;
    DrawText(text, posX - textWidth / 2, posY - textHeight / 2, fontSize, color);
}
